home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ASME's Mechanical Engine…ing Toolkit 1997 December
/
ASME's Mechanical Engineering Toolkit 1997 December.iso
/
ai
/
prlg195b.lzh
/
SAMPLES.LZH
/
ARROW.PRO
< prev
next >
Wrap
Text File
|
1987-04-05
|
256b
|
9 lines
/* This shows how to define the "->" operator, which is
introduced in the Clocksin and Mellish second edition. */
?-op( 254, xfy, '->' ).
(X -> Y; Z) :- X, !, Y.
(X -> Y; Z) :- Z.